const Base = require('../../base.js');

module.exports = class extends Base {
  async indexAction() {
    /// 获取广告信息
    let db = this.mongoose('mongo/ad_config')
    let config = await db.findOne({})
    this.json({
      status: 200, message: 'success', data: config
    })
  }
};
